//
//  KBRouter.h
//  JavaScriptAndObjectiveC
//
//  Created by 刘红武 on 2018/4/25.
//  Copyright © 2018年 huangyibiao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <JavaScriptCore/JavaScriptCore.h>
#import "KBRouteHandler.h"
@class KBRouteHandler;
@interface KBRouter : NSObject
//单例
+(instancetype)shard;
//注册
-(void)registerHandler:(KBRouteHandler *)handler forRoute:(NSString *)route;
//响应
-(void)issueAction:(NSMutableDictionary *)params Controller:(UIViewController *)controll WebView:(UIWebView *)webVi jsContect:(JSContext *)contect;
@end
